home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #1 / Amiga Plus CD - 1996 - No. 1.iso / pd / grafik / xfig_v1.7 / doc / format3.0 < prev    next >
Encoding:
Text File  |  1995-08-22  |  1.8 KB  |  36 lines

  1. /*
  2.  * FIG : Facility for Interactive Generation of figures
  3.  * Copyright (c) 1985 by Supoj Sutanthavibul
  4.  * Parts Copyright (c) 1994 by Brian V. Smith
  5.  * Parts Copyright (c) 1991 by Paul King
  6.  *
  7.  * The X Consortium, and any party obtaining a copy of these files from
  8.  * the X Consortium, directly or indirectly, is granted, free of charge, a
  9.  * full and unrestricted irrevocable, world-wide, paid up, royalty-free,
  10.  * nonexclusive right and license to deal in this software and
  11.  * documentation files (the "Software"), including without limitation the
  12.  * rights to use, copy, modify, merge, publish, distribute, sublicense,
  13.  * and/or sell copies of the Software, and to permit persons who receive
  14.  * copies from any such party to do so, with the only requirement being
  15.  * that this copyright notice remain intact.  This license includes without
  16.  * limitation a license to do the foregoing actions under any patents of
  17.  * the party supplying this software to the X Consortium.
  18.  */
  19.  
  20. The only difference from version 3.0 to version 3.1 is that the position
  21. of the "magnet" has been shifted by 14 fig units.
  22. In the 2.1 and older versions of xfig the grid was in multiples of 5 fig
  23. units, but they were on intervals 4, 9, 14, 19, etc.
  24. When version 3.0 was created, coordinates were simply multiplied by the
  25. ratio of the resolutions (1200/80 = 15) so values like 4 became 60 instead
  26. of 74 ((4+1)*15 - 1).
  27.  
  28. This means that figures converted from 2.1 and older files are offset by
  29. 14 fig units but new objects entered with version 3.0 are correct.
  30.  
  31. In version 3.1 the magnet grid is at intervals 0, 75, 150, etc instead of 
  32. -1, 74, 149, etc.
  33. Figures from 2.1 and older are correctly converted now and a warning is popped
  34. up when you read in a version 3.0 file that says you may have to offset the
  35. figure when you load it, using the x and y offsets in the file panel.
  36.